//
//  TuneFusionAudioObject.h
//  TuneFusion
//
//  Created by Fabián Cañas on 9/10/10.
//  Copyright 2010 University of Colorado, Boulder. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "FLAC/ordinals.h"

@interface TuneFusionAudioObject : NSObject {
    BOOL isFinishedTranscoding;
    NSString *sourcePath;
    NSDate  *lastAccess;
    
    NSString *dataFileLocation;
    FILE *dataFile;
    
    FLAC__uint64 total_samples;
    unsigned sample_rate;
    unsigned channels;
    unsigned bps;
}
// Good
@property (readwrite, retain, nonatomic) NSString *dataFileLocation;
@property (readwrite, nonatomic) FLAC__uint64 total_samples;
@property (readwrite, nonatomic) unsigned sample_rate;
@property (readwrite, nonatomic) unsigned channels;
@property (readwrite, nonatomic) unsigned bps;
@property (readwrite, nonatomic, retain) NSDate *lastAccess;

@property (readwrite, nonatomic) FILE *dataFile;

@property (readwrite, nonatomic, retain) NSString *sourcePath;

@property (readwrite, nonatomic) BOOL isFinishedTranscoding;


-(id) initWithSourcePath:(NSString *)path;

@end
